//
//  BBZCommonWealController.m
//  QuickCure
//
//  Created by 周洋 on 16/9/13.
//  Copyright © 2016年 haoge. All rights reserved.
//

#import "BBZCommonWealController.h"
#import "Masonry.h"

@interface BBZCommonWealController ()

@end

@implementation BBZCommonWealController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self createWebView];
}

//创建webView
- (void)createWebView {
    
    self.navigationItem.title = @"公益";
    //关闭translucent
    self.navigationController.navigationBar.translucent = NO;
    
    UIWebView *webView = [[UIWebView alloc] init];
    
    [self.view addSubview:webView];
    
    [webView mas_makeConstraints:^(MASConstraintMaker *make) {
        
        make.edges.equalTo(self.view);
    }];
    
    NSURL *url = [NSURL URLWithString:@"http://202.106.210.115:18080/hyde-pluto-h360/nt/appEntrance.htm"];
    
    NSURLRequest *request = [NSURLRequest requestWithURL:url];
    
    [webView loadRequest:request];
}





@end
















